package sl.cvs.dao.impl;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import sl.cvs.dao.sysUser.SysUserMapper;
import sl.cvs.pojo.SysUser;

import java.util.List;

/**
 * 示例10 用户数据层实现
 */
public class SysUserMapperImpl10 extends SqlSessionDaoSupport implements SysUserMapper {

    @Override
    public List<SysUser> selectSysUserList(SysUser sysUser) {
        return this.getSqlSession().selectList("sl.cvs.dao.sysUser.SysUserMapper.selectSysUserList",sysUser);
    }

    /**
     * 保存用户
     *
     * @param sysUser
     * @return
     */
    @Override
    public int add(SysUser sysUser) {
        return 0;
    }

}
